import MoveParent from "./move_parent";

export default class MoveKnight extends MoveParent {
    constructor(x = 200,y=200){
        super()

        this.x = x
        this.y = y

        //属性
        this.texture = godot.load("res://assets/knight.png") as godot.Texture
        this.position = new godot.Vector2(this.x,this.y)

        this.hframes = 10
        this.vframes = 2

        this.isKeyMove = true;
        this.isMouseMove = true
    }
}